﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HeThong
{
    public class Const
    {
        public static long GetID
        {
            get
            {
                System.Threading.Thread.Sleep(1);
                var now = DateTime.Now;
                var str = now.ToString("yMMddhhmmssfff");
                return Convert.ToInt64(str);
            }
        }
        public static Int64 GetIDHD
        {
            get
            {
                System.Threading.Thread.Sleep(1);
                var now = DateTime.Now;
                var str = now.ToString("yMMddhhmmssfff");
                return Convert.ToInt64(str);
            }
        }
    }
}
